import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'

import { BaseEntity } from './base.entity'

@Entity()
export class SysDictDataEntity
  extends BaseEntity
  implements ISysDictDataEntity
{
  @PrimaryGeneratedColumn({ type: 'bigint' })
  dictCode: string

  @Column()
  dictSort: number

  @Column()
  dictLabel: string

  @Column()
  dictValue: string

  @Column()
  dictType: string

  @Column()
  isDefault: string

  @Column()
  status: string

  @Column()
  remark: string
}
